package com.bitcola.exchange.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

@FeignClient(value = "bitcola-activity")
@Service
public
interface  ActiveFeign {
    @RequestMapping(value = "activity/power/power",method = RequestMethod.GET)

    public BigDecimal getUserPower(@RequestParam("userId")String userId);
}
